/* 
 *  javascribd - Java client library for the Scribd API. 
 *  Copyright (C) 2009 by Marcel Eyke, http://code.google.com/p/javascribd/ 
 *  Use is subject to license terms of LGPL. See license.txt. 
 */
package com.google.code.javascribd.docs;

import com.google.code.javascribd.connection.AbstractScribdMethod;
import com.google.code.javascribd.connection.annotation.GETParameter;
import com.google.code.javascribd.connection.annotation.Method;
import com.google.code.javascribd.type.ApiKey;
import com.google.code.javascribd.type.SessionKey;

/**
 * This class is the POJO of the docs.getList Scribd request.
 * 
 * @see <a
 *      href="http://www.scribd.com/developers/api?method_name=docs.getList">docs.getList
 *      specification on Scribd.com</a>
 * 
 * @author Marcel Eyke
 */
@Method(name = "docs.getList")
public class GetList extends AbstractScribdMethod<GetListResponse> {

	@GETParameter(name = "api_key")
	private ApiKey apiKey;

	@GETParameter(name = "session_key")
	private SessionKey sessionKey;

	@GETParameter(name = "my_user_id")
	private String myUserId;

	@GETParameter(name = "use_api_account")
	private Boolean useApiAccount;

	@GETParameter(name = "limit")
	private Integer limit;

	@GETParameter(name = "offset")
	private Integer offset;

	public GetList(ApiKey api_key, SessionKey session_key) {
		super();
		this.apiKey = api_key;
		this.sessionKey = session_key;
	}

	public String getMyUserId() {
		return myUserId;
	}

	public void setMyUserId(String my_user_id) {
		this.myUserId = my_user_id;
	}

	public Boolean getUseApiAccount() {
		return useApiAccount;
	}

	public void setUseApiAccount(Boolean use_api_account) {
		this.useApiAccount = use_api_account;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getOffset() {
		return offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	public ApiKey getApiKey() {
		return apiKey;
	}

	public SessionKey getSessionKey() {
		return sessionKey;
	}
}
